package com.zy.web.demo.duoxiancheng.demo21;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/8/20 16:12
 */
public class MyThread21C extends Thread{

    private MyThread21B myThread21B;

    public MyThread21C(MyThread21B myThread21B){
        super();
        this.myThread21B = myThread21B;
    }

    @Override
    public void run() {
           myThread21B.interrupt();
    }
}
